/// 错误体信息
class ErrorMessageModel {
  int? code;
  String? msg;

  ErrorMessageModel({
    this.code,
    this.msg,
  });

  factory ErrorMessageModel.fromJson(Map<String, dynamic> json) {
    return ErrorMessageModel(
      code: json['code'] as int?,
      msg: json['msg'] as String?,
    );
  }

  Map<String, dynamic> toJson() => {
        'code': code,
        'msg': msg,
      };
}
